package com.hy.study.utils;

public enum ErrorEnum {

    CUSTOM_EXCEPTION(6008, "自定义异常8");

    private final Integer code;
    private final String msg;

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    ErrorEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}